package com.maple.admin.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.maple.admin.domain.enums.Astatu;
import com.maple.admin.domain.enums.Type;

import java.util.Date;

@TableName("apply")
public class Apply {
    @TableId(value = "aid", type = IdType.AUTO)
    private Integer aid;
    private Integer uid;
    private Integer oid;

    private Type type;

    private Astatu astatu;

    private Date atime;

    private Integer pid;

    public Integer getAid() {
        return aid;
    }

    public void setAid(Integer aid) {
        this.aid = aid;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getOid() {
        return oid;
    }

    public void setOid(Integer oid) {
        this.oid = oid;
    }

    public Type getType() {
        return type;
    }

    public void setType(Type type) {
        this.type = type;
    }

    public Astatu getAstatu() {
        return astatu;
    }

    public void setAstatu(Astatu astatu) {
        this.astatu = astatu;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public Date getAtime() {
        return atime;
    }

    public void setAtime(Date atime) {
        this.atime = atime;
    }
}
